package com.example.demo.core.enums;

import lombok.Getter;

@Getter
public enum IsEnum {
    YES(1, "是"), NO(0, "否");

    private final int code;
    private final String text;

    IsEnum(int code, String text) {
        this.code = code;
        this.text = text;
    }
}
